package com.ruoyi.house_sale.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 银行名称对象 Bank
 * 
 * @author ruoyi
 * @date 2022-03-30
 */
public class Bank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long bankid;

    /** 名称（中国银行，农业银行，工商银行，建设银行等） */
    @Excel(name = "名称", readConverterExp = "中=国银行，农业银行，工商银行，建设银行等")
    private String bankname;

    public void setBankid(Long bankid) 
    {
        this.bankid = bankid;
    }

    public Long getBankid() 
    {
        return bankid;
    }
    public void setBankname(String bankname) 
    {
        this.bankname = bankname;
    }

    public String getBankname() 
    {
        return bankname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bankid", getBankid())
            .append("bankname", getBankname())
            .toString();
    }
}
